<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta name="Keywords" content=""/>
    <meta name="Description" content=""/>
    <meta name="viewport" id="Ometa"
          content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=4, user-scalable=yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="email=no">
    <link rel="apple-touch-icon" href="img/apple-touch-icon.png"/>
    <title>艺术品交易平台</title>
    <link rel="stylesheet" href="css/normalize.css?20160718"/>
    <link rel="stylesheet" href="css/main.css?20161116"/>
    <script type="text/javascript" src="js/zepto.min.js?20160711"></script>
    <script type="text/javascript" src="js/ort.js?20160718"></script>
    <script type="text/javascript" src="js/touch.js?20160718"></script>

    <link rel="stylesheet" href="css/user_index.css"/>
    <style>
        body {
            background: url("img/login_bg.gif");
        }

        .opa_background {
            z-index: 2;
        }
    </style>

</head>
<body>
<div class="index_logo">
    <p>个人中心</p></div>

<div class="tran_big_title">
    <div class="title_money">
        <dl>
            <dt>可用金额</dt>
            <dd><span>0.00</span></dd>
        </dl>
        <dl>
            <dt>冻结金额</dt>
            <dd>0.00</dd>
        </dl>
        <dl>
            <dt>认购冻结</dt>
            <dd>0.00</dd>
        </dl>
    </div>
    <ul>
        <li><a href="/Money/payin.html">充值</a></li>
        <li><i>提现</i></li>
    </ul>
</div>
<div class="tran_big_style">
    <ul>
        <li>
            <div></div>
            <a href="/jiaoyi/userInfo.html" title="个人信息">个人信息</a><span></span></li>
        <li>
            <div></div>
            <a href="/jiaoyi/userCardNone.html" title="银行卡管理">银行卡管理</a><span></span></li>
        <li>
            <div></div>
            <a href="/jiaoyi//userAddressNone.html" title="地址管理">地址管理</a><span></span></li>
        <!--<li><div></div><a href="/Money/query.html" title="资产查询">资产查询</a><span></span></li>-->
        <li>
            <div></div>
            <a href="/jiaoyi/userbill.html" title="资产查询">资产查询</a><span></span></li>
        <!--<li>-->
            <!--<div></div>-->
            <!--<a href="/jiaoyi/userPayinRecord.html" title="充值历史查询">充值历史查询</a><span></span></li>-->
        <li>
            <div></div>
            <a href="/jiaoyi/userPassword.html" title="修改密码">修改密码</a><span></span></li>
        <li>
            <div></div>
            <a href="/jiaoyi/userPassword.html" title="联系客服">联系客服</a><span></span></li>

    </ul>
</div>
<a href="/Login/logout.html" class="cancel_user">退出账户</a>

<div class="opa_background"></div>
<div class="Ddivok1">
    <div class="Ddivok1_opa"></div>
    <img src="img/Ddivok1_img.png"/>

    <p></p>
</div>
<div class="appl_appl">
    <div class="appl_news">
        <strong>无法提现</strong>

        <div class="appl_news_block">
            暂无有效银行卡
        </div>
    </div>
    <div class="appl_bottom_button">
        <p onclick="$('.appl_appl').hide();$('.opa_background').hide();">取消</p>

        <p class="appl_style"><a href="/User/edit_card.html">立即添加</a></p>
    </div>
</div>

<script type="text/javascript">
    var imgPath = "image/";
    var httpHost = "http://" + "localhost" + "/index.php" + "";
</script>
<script type="text/javascript" src="js/main.js"></script>
<div class="index_footer">
    <ul>
        <li><a href="/jiaoyi/issueIndex.html">
            <div></div>
            <b>首页</b></a></li>
        <!--<li><a href="/jiaoyi/bargainIndex.html">-->
        <!--<div></div>-->
        <!--<b>议价转让</b></a></li>-->
        <li><a href="/jiaoyi/noticeIndex.html">
            <div></div>
            <b>公告</b></a></li>
        <li><a href="/jiaoyi/tradeIndex.html">
            <div></div>
            <b>交易中心</b></a></li>
        <li class="style_color"><a href="/jiaoyi/userIndex.html">
            <div></div>
            <b>个人中心</b></a></li>
    </ul>
</div>

<script type="text/javascript">
    $(function () {
        $(".tran_big_title ul li i").tap(function () {
            $.ajax({
                type: "get",
                url: httpHost + "/Money/isRealName",
                success: function (data) {
                    console.log(data);
                    if (data.status == 1) {
                        $.ajax({
                            type: "get",
                            url: httpHost + "/Money/isBandBank",
                            success: function (data) {
                                if (data == "") {
                                    window.location.assign(httpHost + '/Money/payout');
                                } else {
                                    var appl_display = $(".appl_appl").css("display");
                                    if (appl_display == "none") {
                                        $(".opa_background").show();
                                        $(".appl_appl").show();
                                    }
                                }
                            },
                            error: function () {
                                Ddivok1("服务器连接超时，请刷新！");
                            }
                        });
                    } else {
                        Ddivok1(data.info);
                        setTimeout(function () {
                            location.href = data.url;
                        }, 1500);
                    }
                },
                error: function () {
                    Ddivok1("服务器连接超时，请刷新！");
                }
            });
        });
    });
</script>

</body>
</html>